<template>
  <div class="background-container">
    <div class="container">

      <!-- 第二列，三块 -->
      <div class="column" style="width: 100%;">
        <div class="block" style="height: 100%;">
          <div class="block-content">
            <ItemWrap title="数字人业务界面呈现">
              <LiveHuman />
            </ItemWrap>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>

import LiveHuman from "@/components/live/livehuman.vue"; // 新增引入

export default {
  name: 'LiveStreaming',
  components: {
    LiveHuman, // 注册新组件
  },
  data() {
    return {
      
    };
  },
  methods: {
    
  }
};
</script>

<style lang="scss" scoped>
.container {
  height: 100%;
  display: flex;
  position: relative;
  z-index: 1;
}

.background-container {
  position: relative;
  width: 100%;
  height: 94%;
  overflow: hidden;
}

.column {
  display: flex;
  flex-direction: column;
}

.block-content {
  font-size: 36px;
  height: 95%;
  width: 95%;
  border-radius: 10px;
  display: flex;
  margin: auto;
  position: relative; // 添加相对定位
}

// 新增切换按钮样式
.switch-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;

  &:hover {
    background: rgba(255, 255, 255, 0.3);
  }
}

</style>